﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace Caliburn.Micro.BikeWizard.Data
{
    public abstract class Option : PropertyChangedBase
    {
        #region Public Properties
        public string DisplayName { get; set; }
        public decimal Price { get; set; }
        public int SortOrder { get; set; }
        public bool IsDefault { get; set; }
        #endregion

        #region Constructors
        public Option()
        {
            this.DisplayName = "";
            this.Price = 0;
            this.SortOrder = Int32.MaxValue;
            this.IsDefault = false;
        }
        #endregion

        #region Object Overrides
        public override string ToString()
        {
            return String.IsNullOrEmpty(this.DisplayName) ? "" : this.DisplayName;
        }
        #endregion
    }
}
